.box
  .cell
    .float-right= link_to '返回用户管理', admin_users_path + "?nickname=#{@user.nickname}", :class => :btn
    = build_admin_navigation([@title])
  .cell
    = simple_form_for [:admin, @user] do |f|
      = f.input :nickname, :label => '用户名'
      = f.input :email
      = f.input :password, :label => '新密码'
      = f.input :password_confirmation, :label => '确认新密码'
      = render 'users/account_detail_form', :f => f
      = f.input :reward, :label => Siteconf.reward_title
      .form-actions
        = f.submit '更新用户信息', :class => 'btn btn-small btn-primary'

